SftTree/NET 2.0

ScrollIntoView Method, ItemClass Class

Softel vdm, Inc.

Vertically scrolls the item into view so it is displayed in the tree control's client area.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub ScrollIntoView()

C#   

public void ScrollIntoView();

C++   

public: void ScrollIntoView();

Comments

The ScrollIntoView method vertically scrolls the item into view so it is displayed in the tree control's client area.

The MakeVisible method can be used to make an item visible by scrolling it into view (vertically). The user normally scrolls the tree control items vertically using the scroll bar, but if an application wants to insure that an item is visible, this method can be used.

The TopItem property is used to make a specific item the very first item shown in the tree control area.

To make a particular cell visible, the CellClass.ScrollIntoView method can be used.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com